<!doctype html>
<html class="no-js" xmlns:th="http://www.thymeleaf.org">
<head>
</head>
<body>
<script>
    var payUrl = "[[${payUrl}]]";
    if(payUrl == 'error'){
        var result = "[[${result}]]";
        alert("生成订单出错:" + result);
    }else{
        window.open(payUrl);
    }
</script>
</body>
</html>